#pragma once

#include "GooglePlusOneButtonToolbar.h"

/**
 * Window to reflect messages to toolbar
 */
class CReflectionWnd : public CWindowImpl<CReflectionWnd>
{
public:
	CReflectionWnd();
	~CReflectionWnd();

	DECLARE_WND_CLASS(NULL)

	BEGIN_MSG_MAP(CReflectionWnd)
		MSG_WM_CREATE(OnCreate)
		CHAIN_MSG_MAP_MEMBER(m_ToolbarWnd)
	END_MSG_MAP()

	LRESULT OnCreate(LPCREATESTRUCT lpCreateStruct);

public:
	CGooglePlusOneButtonToolbar& GetToolBar()
	{ 
		return m_ToolbarWnd;
	};

private:
	CGooglePlusOneButtonToolbar m_ToolbarWnd;

private:
	static CLogger logger;
};
